package com.luanye.enjoy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luanye.enjoy.entity.Tribe;
import com.luanye.enjoy.vo.RespBean;


public interface TribeService extends IService<Tribe> {

    RespBean createTribe(Tribe tribe, String openid);

    RespBean getAllByNum();

    RespBean getDetail(Integer id, String openid);

    RespBean joinTribe(Integer id, String openid);

    RespBean exitTribe(Integer id, String openid);

    RespBean getAllMember(Integer id);

    RespBean getMy(String openid);

    RespBean dissolve(Integer id, String openid);

    RespBean getByUser(String openid);
}
